package com.qf.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface TeacherService {

    public boolean isAdd(String username);

    public boolean add(HttpServletRequest request, HttpServletResponse response) throws IOException;

    public void initModify(HttpServletRequest request, HttpServletResponse response) throws IOException;
    public void initAddTeacher(HttpServletRequest request, HttpServletResponse response) throws IOException;

    public void modify(HttpServletRequest request, HttpServletResponse response) throws IOException;

    public void getTeachers(HttpServletRequest request, HttpServletResponse response) throws IOException;

    public void delete(HttpServletRequest request, HttpServletResponse response) throws IOException;
}
